#96 Reset IO Configuration bit 01-16
We use decimal system to set the value; For Example, If OUT01~ OUT16 assigned to 1, then when reset, the current 
output port closed
Выходные порты, которые стоят на 1, при нажатии на кнопку RESET, закрываются.

#97 Reset IO Configuration bit 17-32
We use decimal system to set the value; For Example, If OUT17~ OUT21 assigned to 1, then when reset, the current 
output port closed.
Выходные порты, которые стоят на 1, при нажатии на кнопку RESET, закрываются.

#98 Alarm output status configuration bit 01-16
We use binary systemto to set the value; For example: 7=0111 / OUT0 OUT1 OUT2 output is Open after Alarm, or 
closed; By #264, the corresponding bit is configured as 1, then current output port enable status: 1: Enabled; 0: 
Disabled.

#99 Alarm output status configuration bit 17-32
We use binary system to to set the value; For example: 7=0111 / OUT0 OUT1 OUT2 output is Open after Alarm, 
or closed; By #265, the corresponding bit is configured as 1, then current output port current status setting is :
1: Enabled; 0: Disabled

#264 Alarm output enable configuration bit 01-16
We use binary system to set the value; For Example, If OUT1~ OUT16 assigned to 1, then when Alarm, the current 
enable status 1: Enable; 0: Disable; Before set parameter #98, we need to enable the corresponding bit first

#265 Alarm output enable configuration bit 17-32
We use binary system to set the value; For Example, If OUT17~ OUT21 assigned to 1, then when Alarm, the current 
enable status 1: Enable; 0: Disable; Before set parameter #99, we need to enable the corresponding bit first.



If pressing the Emergency button from either the MPG or the Extern Estop and the spindle does not stop spinning (as well as other outputs), set the following parameters:
Pr No.0096 = 65535
Pr No.0097 = 65535
Pr No.0098 = 0
Pr No.0099 = 0
Pr No.0264 = 65535 (output 1-16 inactivate)
Pr No.0265 = 31 (output 17-21 inactivate)
When Emergency is pressed, all output will be cut off.
But if you want only the spindle to stop spinning only (output 21), set the parameters as follows:
Pr No.0096 = 65535
Pr No.0097 = 65535
Pr No.0098 = 0
Pr No.0099 = 0
Pr No.0264 = 0
Pr No.0265 = 16 (output 21 inactivate)
---------
Just tested, 266 set to 1, 99 set to 1, triggered, OUT17 is output;

------
https://www.facebook.com/100002795070288/videos/1075039703228282/


(DDCS-EXPERT/M350) Hi, can someone please do this test: set parameter 0099 and 0265 to 1 and press the emergency button (E-stop).  Output 17 should turn ON but it doesn't work for me.  Turn it OFF with the reset button. Thanks!

Can't do because the maximum input value is 65535, but Output 17 is 65536. I think the firmware is misconfigured.

No, output 17 is "1" in parameter 0099 and 0265. Or so it should. Parameter 0098 and 0264 set the output 1-16. These work, the 17-21 no. Do they work for you?

I tried output 17-21 not work like you.

So if you set 1 in parameters 0098 and 0264, the led output 01 turn on with the emergency button activate?

yes., your bit number right. Ouput 1 = 1, Output 2 = 2, Output 3 = 4...

And outputs 1-16 work, while 17-21 don't. Foinnc says they work for him... I don't understand.

I setting Pr 98/264 like Pr 99/265 it work. But output

If you have output 2 and 18 on, does this mean that you have set 98,99,264 and 265 to "2" ?

yes

Ok, thank you very much for the test. Then my controller must have some problem.

 I can setting...
You set Pr 98 and 99 = 65535
Pr 264 and Pr 265 can setting output(bit) do you want.

 If you set par. 98 and 99 to 65535, all the pins you set with parameters 264 and 265 go HIGH. In this way you cannot turn off the outputs for M3 and M4 with the E-stop. However my controller is not working well, parameters 99 and 265 have no effect.

I think this function build to active output when alarm only.

yes of course, it is only in case of alarm. a curiosity: when you press the emergency button (E-stop) does output 21 (M3) go off?

You set Pr.98 = 0, Pr.99 = 65535, Pr.265 = 16(Output 21)
When the spindle on if you press the emergency button (E-stop) the spindle off.

No, any number I put in parameters 99 and 265 is ignored... For this reason I had to change the commands M3/M4 on pins 10/09.

 I used yours parameters and it works, but not all. I can turn OFF the outputs but I can't turn ON them. There is a bug because parameter 0098 commands both outputs 01-16 and 17-21, while parameter 0099 is ignored. In fact, if I enable all the outputs (0264=65535 and 0265=31) then parameter 0098=1 should turn ON only output 1, instead it turns ON both 1 and 17. If I put par. 0098=4 turn ON both output 3 and 19 etc... Can you confirm me if yours does too?
